package sevensoft.结构型模式.适配器模式.对象适配器;

public class TV {

    private IHdmi iHdmi;

    public void setHdmi(IHdmi hdmi){
        this.iHdmi=hdmi;
    }

    public void output(){
        iHdmi.write();
    }
}
